<div class="users form">
    <?php echo $this->Form->create('User', array('action'=>'login'));?>
        <h2><?php __('Iniciar sesión'); ?></h2>
        <?php
        echo $this->Form->input('username', array('label' => false, 'placeholder' => 'Nombre de Usuario', 'autocomplete' => 'off'));
        echo $this->Form->input('password', array('label' => false, 'placeholder' => 'Contraseña'));
        ?>
        <?php
//        if ($session->check('Message.flash')) {
//        $session->flash();
//        }
//        if ($session->check('Message.auth')) {
//        $session->flash('auth');
//        }
        ?>

    <?php echo $this->Form->end(__('Iniciar', true)); ?>
    <div class="clear"></div>
    <hr />
</div>